package ms.mall.entity;

import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Project Name: ms
 * File Name: UserAddr
 * Package Name: ms.mall.entity
 * Date: 2018/6/4  15:36
 * Copyright (c) 2018, tianyul All Rights Reserved.
 */
@Table(name = "t_user_addr")
@Data
public class UserAddr implements Serializable {
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private String openid;
    private String userName;
    private String tel;
    private String addr;
    private Long createTime;
    private Integer status;
    private String provinceId;
    private String provinceName;
    private String cityId;
    private String cityName;
    private String areaId;
    private String areaName;
    private String detailAddr;

}
